import request from '@/utils/http'
// 获取二级分类数据
export const getTwoService = (id) => {
      return request.get("/category",{
        params:{
            id
        }
      })
}
// 获取二级面包屑导航
export const getmbxServive = (id) => {
  return request.get('/category/sub/filter',{
    params: {
      id
    }
  })
}

// 获取面包屑导航下边的数据
export const getSubCategoryService = (data) => {
  return request.post('/category/goods/temporary',data)
}